import request from "@/config/axios";
//查询用户分页列表
export function getUserPageList(data: any) {
  return request.post({
    url: "/queryUserPage",
    data,
  });
}
//创建用户
export function addUser(data: any) {
  return request.post({
    url: "/addUser",
    data,
  });
}
//删除用户
export function deleteUser(data: any) {
  return request.post({
    url: "/deleteUser",
    data,
  });
}
//编辑用户
export function editUser(data: any) {
  return request.post({
    url: "/putUserInfo",
    data,
  });
}
//查询用户详情
export function getUserInfo(data: any) {
  return request.post({
    url: "/queryUserInfo",
    data,
  });
}
